generated the script cachematrix.R