As the title suggests i\'m trying to apply dijkstra algorithm with a Heapq (following bogotobogo.com on dijksta in python with slight modifications - long link;could\'t type), a