/**
 * This function finds the index of a given value in a list
 * and returns 'null' if the value is not found.
 *
 * @param lst A list containing elements
 * @param value The value to search for
 * @return The index of the value in the list, or null if the value is not found
 */
fun findIndex(lst: List<Any>, value: Any): Int? {

    var index: Int? = null
    for (i in lst.indices) {
        if (lst[i] == value) {
            index = i
            break
        }
    }
    return index
}
/**
 * This function finds the index of a given value in a list
 * and returns 'null' if the value is not found.
 *
 * @param lst A list containing elements
 * @param value The value to search for
 * @return The index of the value in the list, or null if the value is not found
 */
fun findIndex(lst: List<Any>, value: Any): Int? {
/**
 * This function finds the index of a given value in a list
 * and returns 'null' if the value is not found.
 *
 * @param lst A list containing elements
 * @param value The value to search for
 * @return The index of the value in the list, or null if the value is not found
 */
fun findIndex(lst: List<Any>, value: Any): Int? {

    var index: Int? = null
    for (i in lst.indices) {
        if (lst[i] == value) {
            index = i
            break
        }
    }
    return index
}