implemented mergeSort
finished InversionCounter.java