CountInversions.java