Add dijkstra's path finding algorithm.