Update cachematrix.R

Peer Assessments / Programming Assignment 2