Update cachematrix.R

formatting updated