Your task is to compute the number of inversions in the file given

Your task is to compute the number of inversions in the file given