Started to implement pathfinding.