[Graph]: Made a compiling Dijkstra algorithm