Revert "Computing the number of inversions in an array"

This reverts commit 41dcfe6a9cc852f665822efbe711d9b290693efa.