Update cachematrix.R

I have added in the completed Programming Assignment 2.