updated pathfinding algorithm
Merge pull request #4 from justanothercoder/master

допилил А*