Update cachematrix.R

Added my initial code