New plan: shortest_distance and shortest_path both use dijkstra method, which is previous shortest_path method