Started implementing pathfinding.