Quick sort implemented, labeled here as intPartitionSort