Chapter 04, ex 4.1 solution.