/**
 * Given an integer n and an element x, create a list of tuples where each tuple contains n number of x elements.
 *
 * @param n The number of elements in each tuple.
 * @param x The element to be repeated in each tuple.
 * @return A list of tuples with n number of x elements in each tuple.
 */
fun createListWithTuples(n: Int, x: Any): List<List<Any>> {

    return List(n) { List(n) { x } }
}
/**
 * Given an integer n and an element x, create a list of tuples where each tuple contains n number of x elements.
 *
 * @param n The number of elements in each tuple.
 * @param x The element to be repeated in each tuple.
 * @return A list of tuples with n number of x elements in each tuple.
 */
fun createListWithTuples(n: Int, x: Any): List<List<Any>> {
/**
 * Given an integer n and an element x, create a list of tuples where each tuple contains n number of x elements.
 *
 * @param n The number of elements in each tuple.
 * @param x The element to be repeated in each tuple.
 * @return A list of tuples with n number of x elements in each tuple.
 */
fun createListWithTuples(n: Int, x: Any): List<List<Any>> {

    return List(n) { List(n) { x } }
}