Added Merge Sort algorithm for array sorting