Update GraphClass.java