edit and commit cachematrix.R