Solution to the proposed exercise

Two functions are implemented to calculate (and cache) the inverse of a
matrix.