Add Unique Permutations solution