Update cachematrix.R

added base of functions