edited the cachematrix.R file and fixed a typo