Create CountInversions.java