Update cachematrix.R

initial submission 5/15 1:41pm
updated 5/21 9:06pm