Added qsort(L) and merge_sort(L) functions.