merge two sroted arrays