adding merge sorted arrays