Adding source code for merge sort