Added Dijkstra and BFS as two methods of calculating distances, weighted and unweighted.