pathfinder finished

to do: implement mine evasion