Create countingMatches.java