add Allpermutations solution.