edited cachematrix.R file
edited cachematrix.R file, with comments