R programming Assessment 2 Caching

Editing the cachematrix.R for the assignment