/**
 * This function takes in a string and a vowel character, and returns a list of indices where the vowel occurs in the string.
 */
fun findVowelsIndex(text: String, vowel: Char): List<Int> {

    val indices = mutableListOf<Int>()
    for (i in text.indices) {
        if (text[i].toLowerCase() == vowel.toLowerCase()) {
            indices.add(i)
        }
    }
    return indices
}
/**
 * This function takes in a string and a vowel character, and returns a list of indices where the vowel occurs in the string.
 */
fun findVowelsIndex(text: String, vowel: Char): List<Int> {
/**
 * This function takes in a string and a vowel character, and returns a list of indices where the vowel occurs in the string.
 */
fun findVowelsIndex(text: String, vowel: Char): List<Int> {

    val indices = mutableListOf<Int>()
    for (i in text.indices) {
        if (text[i].toLowerCase() == vowel.toLowerCase()) {
            indices.add(i)
        }
    }
    return indices
}