Preorder to Stack AST