Finished writing cachematrix.R