adds GenerateGraph()
makes the parser close all of its channels properly
adds unit tests for graph.Import and graph.Export.
deletes TestKapok, which will be replaced with more specific tests