Permutation of string without repetition