added comments to main while-loop in dijkstra.py