Done cleaning up code.
Starting Dijkstra's algorithm.
Filling adjacency list.