Merge Array improvements

Replace String concatenation by StringBuilder
Add method to mergeArray, in order to work with List of strings