Added first working version of quicksort.