added insertion sort, minor changes in merge sort