A circular iterator that works for any container.