zzz
added printInv() (recursive function)