Revised Solution

CacheMatrix functions