Edits and comments of cachematrix.R

Programming assignment 2