Added class for an UndirectedGraph
Changed name of T3 attribute to WeightType