Finished problem 9-- added generic type quicksort method