/**
 * Create n nested lists, each containing m initial elements.
 *
 * @param n Number of nested lists to create.
 * @param m Number of initial elements in each nested list.
 * @return A list of n nested lists, each containing m initial elements.
 */
fun createNestedLists(n: Int, m: Int): List<List<Any?>> {

    // Initialize an empty list to store the nested lists
    val nestedLists = mutableListOf<List<Any?>>()

    // Create n nested lists
    repeat(n) {
        // Create a nested list with m initial elements
        val nestedList = MutableList(m) { null }

        // Append the nested list to the list of nested lists
        nestedLists.add(nestedList)
    }

    return nestedLists
}
/**
 * Create n nested lists, each containing m initial elements.
 *
 * @param n Number of nested lists to create.
 * @param m Number of initial elements in each nested list.
 * @return A list of n nested lists, each containing m initial elements.
 */
fun createNestedLists(n: Int, m: Int): List<List<Any?>> {
/**
 * Create n nested lists, each containing m initial elements.
 *
 * @param n Number of nested lists to create.
 * @param m Number of initial elements in each nested list.
 * @return A list of n nested lists, each containing m initial elements.
 */
fun createNestedLists(n: Int, m: Int): List<List<Any?>> {

    // Initialize an empty list to store the nested lists
    val nestedLists = mutableListOf<List<Any?>>()

    // Create n nested lists
    repeat(n) {
        // Create a nested list with m initial elements
        val nestedList = MutableList(m) { null }

        // Append the nested list to the list of nested lists
        nestedLists.add(nestedList)
    }

    return nestedLists
}