Filled in cachematrix.R

Filled in the skeletons of functions and inserted comments for
cachematrix.R