solved d4 dijkstra_paths