add permutation solution