Filled in the CacheMatrix code