added body to makeCacheMatrix and cacheSolve

added the body to the makeCacheMatrix and cacheSolve matrices as per
the assigment2 specs using the example to cache sample mean as a base