Disjoint Set data structure in Go