This code chaces a matrix and its inverse.

Signed-off-by: mostafanageeb <mostafa.nageeb@gmail.com>