Update cachematrix.R

Prg assgn 2 as of 15:26 09/20/2014