Test classes for classed Edge and Vertex added
toString() method corrected in all classes