add DegreeArrayGraph.java class