Formatted quicksort() code