Update cachematrix.R

Assignment 2