Exercise 1.7 partially complete. Left to do is to design a better good-enough procedure. #1