Implemented NodeList, Edgelist, makeSet,union, find, and Kruskal's
algorithm.