The solution to the Assignment of CacheMatrix of R Prog