Added getList() to disjoint_set.py