updated cachematrix.R with more comments