I'm confused.. what are you trying to do? Your examples don't make a whole lot of sense, but I think I have it but need to be sure..

It prints aa, than adds one letter to ab, than ac, when it...