Implementing makeCacheMatrix and cacheSolve based on examples for vector means.
Spotchecked a few cases in the Rconsole.