[Q9.5]compute all the permutations for a string with unique characters