Edited the cachematrix.R file and added additional comments needed for the final submission