Exercise 1-10. Ackermann Function