messin around with quicksort
prob 6 solution