Add Graph#dijkstra_shortest_paths method.