code changes for inverse cache

Code added for cacheSolve and makeCacheMatrix.