/**
 * This function takes in a suspect and a list of questions and counts the number of times the suspect's response contains
 * a keyword from the list of questions.
 *
 * @param suspect a string representing the suspect's response
 * @param questions a list of strings representing the keywords to search for in the suspect's response
 * @return an integer representing the number of questions that match any keyword in the suspect's response
 */
fun suspectInterrogation(suspect: String, questions: List<String>): Int {

    // Initialize the count variable
    var count = 0

    // Iterate through each question keyword
    for (question in questions) {
        // Check if the keyword is present in the suspect's response
        if (question in suspect) {
            // If present, increase the count by 1
            count++
        }
    }

    // Return the final count
    return count
}
/**
 * This function takes in a suspect and a list of questions and counts the number of times the suspect's response contains
 * a keyword from the list of questions.
 *
 * @param suspect a string representing the suspect's response
 * @param questions a list of strings representing the keywords to search for in the suspect's response
 * @return an integer representing the number of questions that match any keyword in the suspect's response
 */
fun suspectInterrogation(suspect: String, questions: List<String>): Int {
/**
 * This function takes in a suspect and a list of questions and counts the number of times the suspect's response contains
 * a keyword from the list of questions.
 *
 * @param suspect a string representing the suspect's response
 * @param questions a list of strings representing the keywords to search for in the suspect's response
 * @return an integer representing the number of questions that match any keyword in the suspect's response
 */
fun suspectInterrogation(suspect: String, questions: List<String>): Int {

    // Initialize the count variable
    var count = 0

    // Iterate through each question keyword
    for (question in questions) {
        // Check if the keyword is present in the suspect's response
        if (question in suspect) {
            // If present, increase the count by 1
            count++
        }
    }

    // Return the final count
    return count
}