add merge sort for Array and makeChange