edit and commit cachematrix.R file