Program takes a word (any sequence of 2 to 25 alphabetical characters) and returns the alphabetical position of given word in all permutations possible with letters of word.