VX(Li): Finish the baisc A* implementation.