cache matrix inverse function

completed cache matrix inverse calculating function for Assignment 2