Hackerrank: QuickSort1 - partition - https://www.hackerrank.com/challenges/quicksort1