Update GraphMain.java