Assignment 2 done. We can cache a matrix