Get all permutations of string

n! time