updated pathfinder in c++

still needs to be compiled to dll