programming assg 2 submission

coded logic to cache and output inversed matrices based on cache vector
example