Code up quicksort example