Update SimpleGraph.java