Fixed Dijkstra's algorithm. Added another graph