LCTHW: Points 5 and 6 in Exercise 17 Extra Credit