Made the saveDigraph() function actually write out the proper file structure.