Exercise 5.4 A tricky iteration! | ScratchStats