Update GenerateUndirectedGraph.java