Added code to compute and cache inverse of a matrix using R's scoping
rules