Generates a permutations of the characters in a string