/**
 * This function takes a word and a target letter, and returns true if the target letter is present in the word, and false otherwise.
 */
fun checkWord(word: String, target: Char): Boolean {

    for (letter in word) {
        if (letter == target) {
            return true
        }
    }
    return false
}
/**
 * This function takes a word and a target letter, and returns true if the target letter is present in the word, and false otherwise.
 */
fun checkWord(word: String, target: Char): Boolean {
/**
 * This function takes a word and a target letter, and returns true if the target letter is present in the word, and false otherwise.
 */
fun checkWord(word: String, target: Char): Boolean {

    for (letter in word) {
        if (letter == target) {
            return true
        }
    }
    return false
}