cachematrix.R Programming assignment is completed