Updated cacheMatrix.R with a better code

I just realized that I don't need to play with the individual elements of the inverse matrix. So I can simply initialize to NULL as well to make the code much more readable.