Update cachematrix.R

Fixed typos