submitting cachematrix.R