inversion - exercise 2

Modified