Code Generator for Repetitive Bits of Code