Update cachematrix.R

Here is my submission!