intial try of repeating blocks

Initial try of #26 

This will fail travis ci tests right now due to a rubocop error (Class definition is too long. [522/500]).  It should also probably have tests written for it.  Putting PR up so that it can be looked over though.
This block looks really confusing. I'm not actually sure what exactly it is doing other than removing the first job and then merging.