Pivot for Quick Sort is chosen as 1st element of the array.