vertex class

internal representation of vertex class, keeps list of edges