generating code for arithmetic expressions (except minus)