Merge Sort using lists