Added string_permutations. Generates all permutations of a string