added dunder iterator method for py3k