Refactored code. 1)Changed QuickSort and InsertionSort. 2)Cleaned some temporary files.