Programming assignment to create matrix inverse

Two functions which accept matrix as input, and compute the inverse.