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