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.
Please call this insert_jobs (if that's what ins stands for). No point in making the reader guess if that's what it does.