Initial commit of cachematrix.R and README.md

Program assignment #2 for peer review.