Changed the AStarPlatformer heuristic algorithm