Copy of cachematrix.R

I could not push the file successfully. So I have added this file for review.