Simple arithmetic expression interpreter