Changed looping from for to block
Merge pull request #24 from VladiMihaylenko/refactored-part-with-array

Changed looping from for to block