dijkstra w/ min heap