cachematrix

create a special object that stores a matrix and caches its inverse
matrix.