Implement simple quicksort version  with comparison count
Use long long  instead of int for counting of inversions