Update cachematrix.R

The two functions return and cache the inverse of an input square matrix. If the input matrix has not changed, i.e., the inverse has been already calculated, the cached value of the inverse will be output.