Library does not allow a book to be checked out twice in a row; added 'if' statement to check if a book is already checked out, and if so, return nil