Robot Simulator in Ruby