An C++ implentation of Dijkstra's shortest path algorithm