Update cachematrix.r file for Assignment #2