makeCacheMatrix and cacheSolve

Implementation of the makeCacheMatrix and cacheSolve functions.