Python Dijkstra Adjacency List, Dijkstra's algorithm (/ ˈdaɪk.