adding new cachematrix.R file