Exercise 1.17 - just a simple modification of (fast-expt)
added notes for termination case
Exercise 1.18 was also trivial, after 1.16