array iteration chapter 8