added previously created cachematrix.R