Quick sort implementations (Simple Quick Sort and Randomized Version)