adds GenerateAndStore which continuously generates and stores a graph to disk