code: function findSetIndex(ele) {
        for (var i = 0; i < forest.length; i++) {
          var eles = forest[i];
  
          if (eles.has(ele)) {
            return i;
          }
        }
      }
docs: assumes byGroup() creates new collections that can be safely mutated