Update cachematrix.R

figure out the relationship between the red part and the green part.