Submitting assignemnt 2 - Caching the inverse of a matrix