CacheMatrix functions

Assignment done