updated cachematrix.R with comments