2.
Suppose that the result of the shuffle in Algorithm 3.5
is 1 0 0 1 1 1 0 0 0 0 0 1 0 1 0 0.
Show the result of the first call on partition() by giving
the contents of the array after each exchange, as in the trace on p. 249.
Warning: pay special attention to how the algorithm works
when a key is equal to the partitioning element.