 //  delay(10);
 //}
 
-void loop() {
-  bool victory = update();
-  leds.write(colors, STRIP_LENGTH);
-  delay(50);
-
 //void loop() {
-//  delay(10);
+//  bool victory = update();
+//  if (victory) {
+//    delay(500);
+//    setAllBlue();
+//  }
+//  delay(50);
+//  leds.write(colors, STRIP_LENGTH);
 //}
-//
-
-void loop() {
-  bool victory = update();
-  if (victory) {
-    delay(500);
-    setAllBlue();
-  }
-}

  }
  pinMode(LED_BUILTIN, OUTPUT);

  pinMode(22, INPUT);
  // Initial switch pins as INPUTs.
//  for (int switch_index = 0; switch_index < GRIDSIZE * GRIDSIZE; switch_index++) {
//    int pin = getSwitchPin(getRow(switch_index), getCol(switch_index));

  if (switch_pin == NO) {
    return SWITCH_WALL;
  } else if (digitalRead(switch_pin)) {
    return SWITCH_OFF;
  } else {
    return SWITCH_ON;
  }
}

