Implement a more complete arithmetic expression evaluator.