Add new code

mergearray removeduplicate sametree