52. Generating all the permutations of a string