Update cachematrix.R

Cachematrix.R was updated with finished functions.