- cachematrix.R homework