I\'ve been banging my head against this error for a couple of hours now and can\'t seem to find where the error is.
I\'m trying to count the inversions in a given arr