add JavaDoc to constructor
add JavaDoc to getVertexList()
implement and test getWeight