write functions

makeCacheMatrix and cacheSolve