User blog comment:Alemagno12/Boboris02's Modular Function/@comment-30118230-20170114174253/@comment-30118230-20170115143313

oh,well you didn't add the part where you add the codes together and if the first letter of C(n) doesn't match with the last letter of C(n+1),then you remove one from C(n+1) and run everything again.