Update cachematrix.R

i am trying to update the master with my edited assignment