Update cachematrix.R

First version of cachematrix