 int winning_blink_state = -1;
 int debug_state = 0;
 
+int button_state = 0;
+
 // CONSTANTS DEFINING THE PUZZLE
 
 // Structure of the gears, represented as pairs that are connected.

int pot = A0;

int photoresistors[3] = {A1, A2, A3};

// CALIBRATION


    digitalWrite(output_lights[i], LOW);
  }

  digitalWrite(calibration_light, LOW);
}

