Create VertexSet.java

to understand the code, we should add comments