cacheSolve update

Set up the cacheSolve function to check if there is a previously solved
inverse matrix. If not, it solves the inverse and saves it.