beginner question here:
I have a given word and should assign numbers to every letter by order of appearance. Then shuffle the word and print the numbers accord