added examples from chapter 4: containers, blocks and iterators