Updated cachematrix.R so that cacheSolve gives inverse of a matrix and makeCacheMatrix produces a list of functions for setting and getting the inverse of the matrix.