Update cachematrix.R

ASSIGNMENT 2 R PROGRAMMING