first version of cachematrix.R

First version with the solution of the cachematrix script.