Updated the code for makeCacheMatrix and cacheSolve functions