Make the findPath function depend solely on function parameters, not class members
This is part of a refactoring of the path finding code, needed to implement functionality to simply determine if there is a viable path between two coordinates without actually starting to navigate on the path. This is still work in progress.