For the 2 sample problem and the k-sample problem, the PRNG method used to randomly reallocate items should be random_sample(), not shuffle()