test quicksort by generate random list