Network Routing (Dijkstra's Algorithm)