Update cachematrix.R

assignment 2