Complete cachematrix.R