Cache matrix

Added functions and comments for cached inverse of the matrix