Submitting the assignment

Update cachematrix.R with answer to the questions.