arithmetic evaluator