   bool anyInvalid = false;
   bool anyEmpty = false;
   bool anyWallConstrainsViolated = false;
+  int switchesOn = 0;
   for (int index = 0; index < GRIDSIZE * GRIDSIZE; index++) {
     int row = getRow(index);
     int col = getCol(index);
     if (isWall(row, col)) {
       continue;
     } else if (isSwitchOn(row, col)) {
+      switchesOn++;
       if (illuminationCount(row, col) > 1) {
         anyInvalid = true;
         setColor(row, col, RED);  // Conflicting lights.

#define YELLOW rgb_color(255, 255, 0)
#define OFF rgb_color(0, 0, 0)

// TODO(bhomberg): update pin numbers
// LiquidCrystal lcd(12, 11, 5, 4, 3, 2);

PololuLedStrip<2> leds;
rgb_color colors[STRIP_LENGTH];

#define SWITCH_ON 1
#define SWITCH_OFF 2

  }
}

void sendStartMessage() {
  if (USE_SERIAL) {
    Serial.println(10);  // Send start audio signal.
  }
}

void sendRedLightsMessage() {
  if (USE_SERIAL) {
    if (!isHot) {
      Serial.println(11);  // Send "Ahhhhhh!" audio signal.
    }
  }
}

void stopHotMessage() {
  if (USE_SERIAL) {
    Serial.println(19);  // Stop Ahhh!
  }
}

void sendBadLightsMessage() {
  if (USE_SERIAL) {
    if (badAttempts == 1) {
      Serial.println(12);  // Send "I don't like the lights." audio signal.
    } else if (badAttempts == 2) {
      Serial.println(13);  // Send "I don't like the lights." audio signal.      
    } else {
      Serial.println(14);  // Send "I don't like the lights." audio signal.      
    }
  }
}

void sendVictoryMessage() {
  if (USE_SERIAL) {
    Serial.println(15);  // Send win message.
  }
}

