Update cachematrix.R with comments and functions for assignment.