added A* routing to Map class