Adding the robot movements problem in ruby