quicksort multithread with array