Lab 10: added class Vertex and class Weighted Graph