Programming Assignment 2

Updated cachematrix.R with assignment submission.