count inversions algorithm
Merge branch 'master' of https://github.com/ethervoid/count_inversions