Adding randomness to qsort