Worked further on QuickSort