Update cachematrix.R

Ready to submit