program to merge an array