Completing cachematrix.R to cache matrix inverse value.