add cachematrix.R with comments