1 2 3 4 5 6 7 8 9 10 11
class North def turn_right East.new end def turn_left West.new end def forward(location) location[:y] = location[:y]+1 end end