Update cachematrix.R

Upload assignment