add insert sort and merge sort implementation.