PEP8 corrections to iterate.py.
Merge pull request #491 from esc24/iterate_pep8

PEP8 corrections to iterate.py.