Comments

as not a tester i would like to solve them all

i think problem in this:

result = result + char(97 + j);

you can use this instead:

result += char(97 + j);