Solved The Programming Exercise of CacheMatrix