ProgrammingAssignment2 : Caching the Inverse of a Matrix