solved d5 dijkstra_pq