Create inversionsCount.java