Add AStar implementation.