Add cacheMatrix source code