quick changes to WUGraph

added code for getVertices()