/**
 * Returns a list of available books that have not been borrowed.
 *
 * @param bookList A list of all the library books.
 * @param borrowedBooks A list of books that have been borrowed.
 * @return A list of books that are available.
 */
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
}
/**
 * Returns a list of available books that have not been borrowed.
 *
 * @param bookList A list of all the library books.
 * @param borrowedBooks A list of books that have been borrowed.
 * @return A list of books that are available.
 */
fun findAvailableBooks(bookList: List<String>, borrowedBooks: List<String>): List<String> {
/**
 * Returns a list of available books that have not been borrowed.
 *
 * @param bookList A list of all the library books.
 * @param borrowedBooks A list of books that have been borrowed.
 * @return A list of books that are available.
 */
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
}