/**
 * This function takes in a nested list of colors and finds the target color
 */
fun findColors(colors: List<List<String>>, targetColor: String): Boolean {

    for (colorList in colors) {
        for (color in colorList) {
            if (color == targetColor) {
                return true
            }
        }
    }
    return false
}
/**
 * This function takes in a nested list of colors and finds the target color
 */
fun findColors(colors: List<List<String>>, targetColor: String): Boolean {
/**
 * This function takes in a nested list of colors and finds the target color
 */
fun findColors(colors: List<List<String>>, targetColor: String): Boolean {

    for (colorList in colors) {
        for (color in colorList) {
            if (color == targetColor) {
                return true
            }
        }
    }
    return false
}