assignment2

matrix inversion and cache code