Inverst matrix cache program

Program to invert the matrix passed as a parameter, use cache to
retrieve it.