Prepared two functions for cashing matrix inverse

It was an assignment )