Pathfinding utilities.

Includes FlowGraph and Astar.