Update cachematrix.R

submit Assignment 2 by editing the file online manually