Finish lend_book() function