Fix Merge Sort Implementation