Create graph.java