Update cachematrix.R

Wrote the functions and commented the code.