Print permutations of letters in a word