chapter 5 iterator for sequential access, list over vector for delete/insert operations