A* Pathfinding implementation for Blitz3D