adding expressions and assignments to parse tree