Update cachematrix.R

Initial pseudocode and comments.