/**
 * The function takes in two lists: bookList (containing all books in the library) 
 * and borrowedBooks (containing books that have been borrowed).
 * It returns a list of books that are currently available in the library, 
 * i.e., books that are in bookList but not in borrowedBooks.
 */
fun findAvailableBooks(bookList: List<String>, borrowedBooks: List<String>): List<String> {

    val availableBooks = mutableListOf<String>()

    for (book in bookList) {
        if (book !in borrowedBooks) {
            availableBooks.add(book)
        }
    }

    return availableBooks
}
/**
 * The function takes in two lists: bookList (containing all books in the library) 
 * and borrowedBooks (containing books that have been borrowed).
 * It returns a list of books that are currently available in the library, 
 * i.e., books that are in bookList but not in borrowedBooks.
 */
fun findAvailableBooks(bookList: List<String>, borrowedBooks: List<String>): List<String> {
/**
 * The function takes in two lists: bookList (containing all books in the library) 
 * and borrowedBooks (containing books that have been borrowed).
 * It returns a list of books that are currently available in the library, 
 * i.e., books that are in bookList but not in borrowedBooks.
 */
fun findAvailableBooks(bookList: List<String>, borrowedBooks: List<String>): List<String> {

    val availableBooks = mutableListOf<String>()

    for (book in bookList) {
        if (book !in borrowedBooks) {
            availableBooks.add(book)
        }
    }

    return availableBooks
}