added program assignment 2 cache matrix