perm() now does all subset permutations of a string, not just all the
permutations using all letters