Edited QuickSort class to meet submission requirements