add inversion.c