結果 : implement the single source shortest path using dijkstra's algorithm for the given graph