Exercise 6: Shortest Paths Dijkstra