for (int i = 0; i < treeList.length(); i++) {
for (int i = 1; i < treeList.length(); i++) {
  public static Sexp removeChildlessNodes(Sexp tree) {    if (Language.treebank().isPreterminal(tree))      return tree;    if (tree.isList()) {      SexpList treeList = tree.list();      for (int i = 0; i < treeList.length(); i++) {	Sexp currChild = treeList.get(i);	if (!Language.treebank().isPreterminal(tree) &&	    currChild.isList() && currChild.list().length() == 1)	  treeList.remove(i--);	else	  removeChildlessNodes(currChild);      }    }    return tree;  }