Quicksort with first element as pivot