ruby 1.9
now use compass directions
indenting
more proper handling of map object
a little cleanup