Complete printInversions