Update cachematrix.R

Fully working and commented version to be submitted