/**
 * This function takes in two strings and finds the common characters at the same position in both strings.
 */
fun findCommonCharacters(string1: String, string2: String): String {

    var commonCharacters = ""

    // Iterating over the characters in the first string
    for (i in string1.indices) {
        // Check if the character at the current position in the first string is also present
        // at the same position in the second string
        if (string1[i] == string2[i]) {
            // Appending the common character to the commonCharacters string
            commonCharacters += string1[i]
        }
    }

    return commonCharacters
}
/**
 * This function takes in two strings and finds the common characters at the same position in both strings.
 */
fun findCommonCharacters(string1: String, string2: String): String {
/**
 * This function takes in two strings and finds the common characters at the same position in both strings.
 */
fun findCommonCharacters(string1: String, string2: String): String {

    var commonCharacters = ""

    // Iterating over the characters in the first string
    for (i in string1.indices) {
        // Check if the character at the current position in the first string is also present
        // at the same position in the second string
        if (string1[i] == string2[i]) {
            // Appending the common character to the commonCharacters string
            commonCharacters += string1[i]
        }
    }

    return commonCharacters
}