Filled out the supplied stubs for the cache matrix assignment