Update cachematrix.R

peer assessments solutions