print permutation