renamed class2.py to iterator.py