minor correction to createEdge() in the Vertex class