Update cachematrix.R

added final explanation to achieve full marks