why would you loop the characters yyz over and over?
btw cool idea... with some bit calculations, you could store characters so as to make it more adaptable... i did so for my (semi-functional) morse translator... i give it morse, via key, it sends me text via serial.... i say semi-working because it was way to strict for my terrible morse skills.