I updated the cachematrix.R file to complete Programming Assignment 2