impl deque‘s iterator