Replaced for loop with iterators.
Replaced for loop with iterators.

151706061/CTK,AndreasFetzer/CTK,rkhlebnikov/CTK,naucoin/CTK,151706061/CTK,mehrtash/CTK,rkhlebnikov/CTK,naucoin/CTK,rkhlebnikov/CTK,msmolens/CTK,AndreasFetzer/CTK,CJGoch/CTK,Heather/CTK,rkhlebnikov/CTK,jcfr/CTK,SINTEFMedtek/CTK,sankhesh/CTK,151706061/CTK,fedorov/CTK,151706061/CTK,Heather/CTK,mehrtash/CTK,ddao/CTK,commontk/CTK,SINTEFMedtek/CTK,Sardge/CTK,CJGoch/CTK,SINTEFMedtek/CTK,Sardge/CTK,mehrtash/CTK,AndreasFetzer/CTK,sankhesh/CTK,fedorov/CTK,commontk/CTK,mehrtash/CTK,Heather/CTK,naucoin/CTK,msmolens/CTK,CJGoch/CTK,jcfr/CTK,commontk/CTK,jcfr/CTK,commontk/CTK,Sardge/CTK,AndreasFetzer/CTK,msmolens/CTK,CJGoch/CTK,ddao/CTK,ddao/CTK,fedorov/CTK,jcfr/CTK,sankhesh/CTK,naucoin/CTK,fedorov/CTK,Heather/CTK,msmolens/CTK,SINTEFMedtek/CTK,ddao/CTK,151706061/CTK,CJGoch/CTK,SINTEFMedtek/CTK,Sardge/CTK,jcfr/CTK,sankhesh/CTK