Added the two functions to compute or cache the inverse of a matrix