committing cachematrix.R with code comments