/**
 * This function takes in the chef's menu, a dish name, and a list of ingredients
 * to add or update the menu. The dish and ingredients are added as key-value pairs
 * to the existing menu dictionary.
 *
 * @param chefMenu The chef's menu with dish names and ingredients.
 * @param dish The name of the dish to add or update.
 * @param ingredients The ingredients for the dish.
 * @return Updated chef's menu with the new dish and ingredients.
 */
fun updateMenu(chefMenu: MutableMap<String, List<String>>, dish: String, ingredients: List<String>): MutableMap<String, List<String>> {

    chefMenu[dish] = ingredients
    return chefMenu
}
/**
 * This function takes in the chef's menu, a dish name, and a list of ingredients
 * to add or update the menu. The dish and ingredients are added as key-value pairs
 * to the existing menu dictionary.
 *
 * @param chefMenu The chef's menu with dish names and ingredients.
 * @param dish The name of the dish to add or update.
 * @param ingredients The ingredients for the dish.
 * @return Updated chef's menu with the new dish and ingredients.
 */
fun updateMenu(chefMenu: MutableMap<String, List<String>>, dish: String, ingredients: List<String>): MutableMap<String, List<String>> {
/**
 * This function takes in the chef's menu, a dish name, and a list of ingredients
 * to add or update the menu. The dish and ingredients are added as key-value pairs
 * to the existing menu dictionary.
 *
 * @param chefMenu The chef's menu with dish names and ingredients.
 * @param dish The name of the dish to add or update.
 * @param ingredients The ingredients for the dish.
 * @return Updated chef's menu with the new dish and ingredients.
 */
fun updateMenu(chefMenu: MutableMap<String, List<String>>, dish: String, ingredients: List<String>): MutableMap<String, List<String>> {

    chefMenu[dish] = ingredients
    return chefMenu
}