Update cachematrix.R

corrected some typos