Fixed remaining iterating-related stuff.
Merge pull request #4 from untitaker/python3

Fixed remaining iterating-related stuff.