Array: quicksort with random selection of pivot