adjusted map loading to reflect correct image orientation
added pathfinding, not functional at the moment