Toy Robot implementation in Ruby