Compute number of inversions using divide and conquer and a variation on
Merge Sort