/**
 * This function takes a number of cake layers and a list of cake flavors as arguments.
 * It returns a nested tuple with all the possible combinations of layer and flavor for the cake.
 */
fun makeCake(layers: Int, flavors: List<String>): List<Pair<Int, String>> {

    val cakeCombinations = mutableListOf<Pair<Int, String>>()

    for (layer in 1..layers) {
        for (flavor in flavors) {
            val combination = Pair(layer, flavor)
            cakeCombinations.add(combination)
        }
    }

    return cakeCombinations
}
/**
 * This function takes a number of cake layers and a list of cake flavors as arguments.
 * It returns a nested tuple with all the possible combinations of layer and flavor for the cake.
 */
fun makeCake(layers: Int, flavors: List<String>): List<Pair<Int, String>> {
/**
 * This function takes a number of cake layers and a list of cake flavors as arguments.
 * It returns a nested tuple with all the possible combinations of layer and flavor for the cake.
 */
fun makeCake(layers: Int, flavors: List<String>): List<Pair<Int, String>> {

    val cakeCombinations = mutableListOf<Pair<Int, String>>()

    for (layer in 1..layers) {
        for (flavor in flavors) {
            val combination = Pair(layer, flavor)
            cakeCombinations.add(combination)
        }
    }

    return cakeCombinations
}