updated Dijkstra to account for backtracking
updated to match test
Merge pull request #17 from corinnelhh/weighted-graph

Weighted graph