/**
 * This function takes a library and a book title as arguments and searches for the book in the library.
 * It returns true if the book is found, otherwise false.
 */
fun findBook(library: List<List<String>>, bookTitle: String): Boolean {

    for (shelf in library) {
        for (book in shelf) {
            if (book == bookTitle) {
                return true
            }
        }
    }
    return false
}
/**
 * This function takes a library and a book title as arguments and searches for the book in the library.
 * It returns true if the book is found, otherwise false.
 */
fun findBook(library: List<List<String>>, bookTitle: String): Boolean {
/**
 * This function takes a library and a book title as arguments and searches for the book in the library.
 * It returns true if the book is found, otherwise false.
 */
fun findBook(library: List<List<String>>, bookTitle: String): Boolean {

    for (shelf in library) {
        for (book in shelf) {
            if (book == bookTitle) {
                return true
            }
        }
    }
    return false
}