/**
 * This function takes a list of wires and a specific wire color and returns the indexes of the positions where the given wire color can be found.
 *
 * @param wires A list of wire colors
 * @param wireColor The specific wire color to search for
 * @return A list of indexes representing the positions where the given wire color was found
 */
fun findWirePosition(wires: List<String>, wireColor: String): List<Int> {

    val indexes = mutableListOf<Int>()

    for (x in wires.indices) {
        if (wires[x] == wireColor) {
            indexes.add(x)
        }
    }

    return indexes
}
/**
 * This function takes a list of wires and a specific wire color and returns the indexes of the positions where the given wire color can be found.
 *
 * @param wires A list of wire colors
 * @param wireColor The specific wire color to search for
 * @return A list of indexes representing the positions where the given wire color was found
 */
fun findWirePosition(wires: List<String>, wireColor: String): List<Int> {
/**
 * This function takes a list of wires and a specific wire color and returns the indexes of the positions where the given wire color can be found.
 *
 * @param wires A list of wire colors
 * @param wireColor The specific wire color to search for
 * @return A list of indexes representing the positions where the given wire color was found
 */
fun findWirePosition(wires: List<String>, wireColor: String): List<Int> {

    val indexes = mutableListOf<Int>()

    for (x in wires.indices) {
        if (wires[x] == wireColor) {
            indexes.add(x)
        }
    }

    return indexes
}