Update cachematrix.R

updated for assignment 2