Man given good behaviour bond after assaulting young boy