Update cachematrix.R

Assignment week 2