added FormulaElement::getTreeInfo() that makes the tree information mainly for debugging.