isolated binary heap code, implemented Dijkstra's algorithm in a similar
way to A* using the new binary heap code.