commiting complete cachematrix.R