add permutation 2 python version