added Validation for matrix

added is.matrix when set a real matrix to this special object
“makeCacheMatrix”