the permutation of an array