Update cachematrix.R

Formatted text to work from assignment example