updated monster move method to correctly cast to Hallway type from array
of Object[]