write quicksort for assignment 2 q2 and q3