AStar pathfinder. Grid or free graph.