Implemented doRepeat block
Merge pull request #1 from jhandley/doRepeat

Implemented doRepeat block