well, the good news is that I have an idea as to how to do this, the bad news is the fact that the output keeps generating a line too long error, since you're looking at 26^27 possibilities.