Create inversions.py