get all permutation for String recursively