Assignment2 First cut at matrix inverse caching