結果 : disjoint set union data structure python