The code from chapter 8 after completing each of the challenges.