QuickSort with pivot of first element