tests unidirected graphs
Adding vertex class