updated the cachematrix.r file as part of the programming assignment 2 requirements.