Add exercise 1.16 (fast exponentiation with logn growth)