Adding iterators to Vertex class