chapter 5 Loops exercises 5.1-5.8 finished