cachematrix.R

First working version