Everything but the BFS is working

I should probably look up how to do that soon. But at least the graph
works.