pathfinding nearly done

bu does it work