Developed the rest of the code to complete Assignment 2

Specifically fixed the empty functions to compute an inverse of a matrix and store that value in cache for future use in the code.