Finished saving all the element of the graph.

Finished saving in the loadGraph() function.