string permutations complete