modified MergeSort
added Swapping and BinarySearch