finished nudge function
finished nudge , edited code, and made sure nudge works only in the room