Adds the cachematrix.R file needed to complete Programming Assignment 2.