Implement first algorithm--QuickSort, remain to be tested