Counting inversions in an array
Improving merge sort