currently working through findPath(), about halfway through while(true) loop