Adding R scripts for the assignment: Cache matrix value. Updated the comments.