Added simple pathfinding.