Modified example to generate an abstract syntax tree.  Modified main program to output parse result.