update the cachematrix.R file including the function with caching.