Update cachematrix.R

Third version