inversion pair count using c++