Add Python file to count array inversions