Assignment 2 - Compute and cache inverse of matrix