Reorganized the quicksort example to make it a little more readable.