updated cachematrix.R

updated work