[Pathfinding] Lost in revising A*. Half done.