Update cachematrix.R

Final essay