Finding the set of all permutations of input string