Exercise 4-3. Extend the calculator with % and negative numbers support