took steps in the pathfinding methods. made only trivial changes to
other classes (won't affect other code)