Python disjoint sets implementation

Written in Python for quick coding and the lack of a need for a separate Node class. No GUI or solver.