QuickSort: use random elements as pivots.