Chapter 10: Exercise QuickSort Algorithm