Finish testing Dijkstra and Bellman-Ford

-refactored algorithms so that they act on graphs.
-refactored Dijkstra/Bellman-Ford into their own files.
-finished tests for Dijkstra/Bellman-Ford.