Cache the Inverse of a Matrix

I updated the given file with my solution. I added some test code to
ensure that my solution is working as expected.

I should be interresting to transform the test code in proper unit test
cases.