example to run cachematrix.R