Graph.py

Added work onto the dijkstra's method.