complete quicksort using random number arraies