Update SimpleGraph.scala