Create countInversions.py

use recursive algorithm to find the number of inversions in a list.