[R Programming] implement functions makeCacheMatrix and cacheSolve for assignment 2