An implimentation of Dijksta's algorimth with binary heaps.