implemented and commented makeCacheMatrix and cacheSolve