edited cachematrix.R stub to include two functions