changed #2 the cachematrix.R file for assignment 2