cachematrix.R

Final commit. Program complete.