implement merge sort, start median of two sorted list