Update inversionCount.cpp