enter two short sorted arrays and combining them to get a large sorted array