Create mergesort.cpp

MergeSort that returns number of inversions