Prog 2 cacheMatrix