This is the program for the Assignment 2
The file cachematrix.R has been updated from the original sample.