Index iterators tutorial (Dave needs to do some changes).