Can use Scanner to store number of vertices of edges.