Add Permutation problem