Playing with pair iterators