get all permutations of a string. Duplicate letters OK.