Dijkstra Algorithm

Enter cost of each connection