fixed x and y transposition and changed world.rb to map_controller.rb