First work on merge sort