Update cachematrix.R

Assignment complete