Update no__of_inversions.py

Inserting code to measure time taken by the algorithm