Adding problems 6-10, string permutations