Implemented Vertex and Edge classes to represent prox. graph.