my changes to implement the functions

Mirror the MakeCacheVector example, but for matrices