Updated the functions makeCacheMatrix and cacheSolve in cachematrix.R