Minor changes to Pathfinder

- Made the default iterations limit public
- Added asserts on the max number of iterations and the existence of a
result at the end of the A* algorithm