AbhishekJain - cacheInverseMatrix Code

Modified file to calculate inverse of a matrix and cache it.