add Vertex.java and GraphGenerator.java