modified two sorted lists.