adding intrepret, build parse tree and handle next symbol method