define the tree class, and try to construct the AST in the LL1 program