A very nice solution.  Much simpler than the coding theory approach,
and the results are very readable. 

It might be interesting to extend it so that chunks can span
multiple lines, to ease the spotting of boilerplate code used in
many places.  

        Thank you
        Hugh