Update cachematrix.R

First commit. Will complete later