Added a test for loading from a file.
A little bit of test stuff.
Implemented loading the graph.