Create inversions.cpp