code: public void connect(List<Tree> children) {
          this.children = children;
          for (Tree t : children)
              t.setParent(this);
      }
docs: Connects the given trees
  and sets the parents of the children
  @param children  the children to connect with