use modify merge sort  find inversions in a array A

using modify merge sort, we can let the programe in therta(nlgn)
worst-case time