Adding my code and comments for finding the Inverse of Matrix using cache