/**
 * Boolean function to check if a character is already present in the unique characters list
 * or not. Returns true if the character is unique, false otherwise.
 */
fun checkIfUnique(char: Char, uniqueChars: List<Char>): Boolean {

    for (uniqueChar in uniqueChars) {
        if (uniqueChar == char) {
            return false
        }
    }
    return true
}
/**
 * Boolean function to check if a character is already present in the unique characters list
 * or not. Returns true if the character is unique, false otherwise.
 */
fun checkIfUnique(char: Char, uniqueChars: List<Char>): Boolean {
/**
 * Boolean function to check if a character is already present in the unique characters list
 * or not. Returns true if the character is unique, false otherwise.
 */
fun checkIfUnique(char: Char, uniqueChars: List<Char>): Boolean {

    for (uniqueChar in uniqueChars) {
        if (uniqueChar == char) {
            return false
        }
    }
    return true
}