 }
 
 // Arduino setup() and loop()
-void setup() 
-{
+void setup() {
   Serial.begin(9600); 
   pinMode(LED_BUILTIN, OUTPUT);
 

  }
}

void loop() 
{
  delay(20);
  updateGridColors();
  leds.write(colors, STRIP_LENGTH);
}


  colors[index] = color;
}

void setAllBlue() {
  for (int index = 0; index < GRIDSIZE * GRIDSIZE; index++) {
    int row = getRow(index);
    int col = getCol(index);
    setColor(row, col, getBlue());  // Victory! Make everything blue.
  }
}

bool update() {
  bool anyInvalid = false;
  bool anyEmpty = false;
  for (int index = 0; index < GRIDSIZE * GRIDSIZE; index++) {
    int row = getRow(index);
    int col = getCol(index);
