Assignment #2 Submission

I have edited the cachematrix file and incorporated my changes here.