added iteration doc for collections
enhanced
Merge pull request #2940 from gurbuzali/collection-iterating-document

added iteration doc for collections