file cachematrix.R needed for R programming course on coursera