Exercise 4.6
whitespace fixes
Exercise 4.7