New iterator for the dynamic array