code: public void add(double centroid, int count, List<Double> data) {
          this.centroid = centroid;
          this.count = count;
          this.data = data;
          tree.add();
      }
docs: Add the provided centroid to the tree.