added function to move from room to room