Programming assignment No. 2 cache inverse matrix calculation