Update cachematrix.R

Addition of Code
Merge pull request #1 from BrickFrog/Rtest

Update cachematrix.R