CacheMatrix

The R function calculates the inverse and stores in memory.
The second cache functions checks if the inverse of the matrix is stored
in memory if not calculates the inverse of the matrix.