Complete cacheMatrix.R