Use heaps to make Dijkstra's Algorithm faster.