Merging two sorted lists.