ruby implementation of the robot problem