Algorithm to compute the number of inversions in the file given
Algorithm to compute the number of inversions in the given file