arithmetic expression evaluation