Simple arithmetic expression parser