Graph and Dijkstra implementation
Small change to Dijkstra