Edited cachematrix.R file to include my versions of the code.