Edited the R file to cache the inverse of a matrix.