Completed Assignment - Functions for caching the inverse of a matrix