Begin routing using Dijkstra's algorithm. Set diverging turnout.