merge two sorted array