Code for makeCacheMatrix and cacheSolve

Adapted makeVector and cachemean to make a matrix and inverted in a
cached environment