Update of cachematrix file

Wrote the functions to get the inverse of matrix.