Cache Inverse of a Matrix

Code to calculate and cache inverse of a matrix, modified comments