accomplish Dijkstra's Algorithm.