Update cachematrix.R

R_prog009 - assignment 2 AA