Edited chacematrix.R file - R Programmig

Edited the code in the files in order to calculate the inverse of matrix
and cache the results.