3 Way Partitioning QuickSort implemented