solve the permutations problem.