QuickSort algoritm implemented and working. The last element of the
array is used as pivot element