Implement arithmetic expression evaluator