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 can be done with a single line using delete_if.