Update graphExample.java