A Free, Flexible C Implementation of the A* Algorithm