Implementing tuple iterators