Update PathFinder.js

fast version except the finale improvement would be to implement perfect loop back detection instead of PointsVisited.