Added quick_sort. Tried to speed up merge_sort (failed).