Update cachematrix.R

My assignment :)