I am trying to do a recursive call to counter the number of inversion of a list of numbers
for example: [3,1,2,4] The two inversions are (3,1)
[3,1,2,4]
(3,1)