chapter16 permutation