An example of the algorithm Permutation