結果 : print shortest path using dijkstra algorithm