implement functions

implement makeCacheMatrix, cacheSolve functions