LCD STOP_WATCH

hey i was hoping someone could help me. My project is press any of the 9 buttons it sends an output to start the LCD timer and once all nine inputs(control LED`S) are made the LCD timer stops. The problem i am having is once i hit any button the LED comes on to indicate the button was pressed and the timer starts but then all other inputs do not work and none of the lights come on... New to arduino

here is my code

#include <LiquidCrystal.h>
LiquidCrystal lcd(50, 51, 52, 53, 22, 23);

const int LED1 = 31; //TOP LEFT LED
const int LED2 = 32; //TOP MIDDLE LED
const int LED3 = 33; //TOP RIGHT LED
const int LED4 = 34; //MIDDLE LEFT LED
const int LED5 = 35; //MIDDLE LED
const int LED6 = 36; //MIDDLE RIGHT LED
const int LED7 = 37; //BOTTOM LEFT LED
const int LED8 = 38; //BOTTOM MIDDLE LED
const int LED9 = 39; //BOTTOM RIGHT LED
const int LED10 = 40; //TIMER

const int SWITCH2 = 2; //TOP LEFT SWITCH
const int SWITCH3 = 3; //TOP MIDDLE SWITCH
const int SWITCH4 = 4; //TOP RIGHT SWITCH
const int SWITCH5 = 5; //MIDDLE LEFT SWITCH
const int SWITCH6 = 6; //MIDDLE SWITCH
const int SWITCH7 = 7; //MIDDLE RIGHT SWITCH
const int SWITCH8 = 8; //BOTTOM LEFT SWITCH
const int SWITCH9 = 9; //BOTTOM MIDDLE SWITCH
const int SWITCH10 = 10; //BOTTOM RIGHT SWITCH

int buttonState2 = LOW;
int buttonState3 = LOW;
int buttonState4 = LOW;
int buttonState5 = LOW;
int buttonState6 = LOW;
int buttonState7 = LOW;
int buttonState8 = LOW;
int buttonState9 = LOW;
int buttonState10 = LOW;
int ledState2 = -1;
int ledState3 = -1;
int ledState4 = -1;
int ledState5 = -1;
int ledState6 = -1;
int ledState7 = -1;
int ledState8 = -1;
int ledState9 = -1;
int ledState10 = -1;
long lastDebounceTime2 = 0;
long lastDebounceTime3 = 0;
long lastDebounceTime4 = 0;
long lastDebounceTime5 = 0;
long lastDebounceTime6 = 0;
long lastDebounceTime7 = 0;
long lastDebounceTime8 = 0;
long lastDebounceTime9 = 0;
long lastDebounceTime10 = 0;
long debounceDelay2 = 500;
long debounceDelay3 = 500;
long debounceDelay4 = 500;
long debounceDelay5 = 500;
long debounceDelay6 = 500;
long debounceDelay7 = 500;
long debounceDelay8 = 500;
long debounceDelay9 = 500;
long debounceDelay10 = 500;

void setup() {
pinMode(LED1, OUTPUT);
pinMode(LED2, OUTPUT);
pinMode(LED3, OUTPUT);
pinMode(LED4, OUTPUT);
pinMode(LED5, OUTPUT);
pinMode(LED6, OUTPUT);
pinMode(LED7, OUTPUT);
pinMode(LED8, OUTPUT);
pinMode(LED9, OUTPUT);
pinMode(LED10, OUTPUT);
pinMode(SWITCH2, INPUT);
pinMode(SWITCH3, INPUT);
pinMode(SWITCH4, INPUT);
pinMode(SWITCH5, INPUT);
pinMode(SWITCH6, INPUT);
pinMode(SWITCH7, INPUT);
pinMode(SWITCH8, INPUT);
pinMode(SWITCH9, INPUT);
pinMode(SWITCH10, INPUT);

lcd.begin(16, 2);
lcd.clear();

Serial.begin(9600);

pinMode(24, INPUT);
digitalWrite(24, LOW);
pinMode(25, INPUT);
digitalWrite(25, LOW);

}
double i = 0;
double a = millis();
double c ;

void loop() {

//TOP LEFT SQUARE
buttonState2 = digitalRead(SWITCH2);
if ( (millis() - lastDebounceTime2) > debounceDelay2) {
if ( (buttonState2 == HIGH) && (ledState2 < 0) ) {
digitalWrite(LED1, HIGH);
ledState2 = -ledState2;
lastDebounceTime2 = millis();
}
}

//TOP MIDDLE SQUARE
buttonState3 = digitalRead(SWITCH3);
if ( (millis() - lastDebounceTime3) > debounceDelay3) {
if ( (buttonState3 == HIGH) && (ledState3 < 0) ) {
digitalWrite(LED2, HIGH);
ledState3 = -ledState3;
lastDebounceTime3 = millis();
}
}

//TOP RIGHT SQUARE
buttonState4 = digitalRead(SWITCH4);
if ( (millis() - lastDebounceTime4) > debounceDelay4) {
if ( (buttonState4 == HIGH) && (ledState4 < 0) ) {
digitalWrite(LED3, HIGH);
ledState4 = -ledState4;
lastDebounceTime4 = millis();
}
}

//MIDDLE LEFT SQUARE
buttonState5 = digitalRead(SWITCH5);
if ( (millis() - lastDebounceTime5) > debounceDelay5) {
if ( (buttonState5 == HIGH) && (ledState5 < 0) ) {
digitalWrite(LED4, HIGH);
ledState5 = -ledState5;
lastDebounceTime5 = millis();
}
}

//MIDDLE SQUARE
buttonState6 = digitalRead(SWITCH6);
if ( (millis() - lastDebounceTime6) > debounceDelay6) {
if ( (buttonState6 == HIGH) && (ledState6 < 0) ) {
digitalWrite(LED5, HIGH);
ledState6 = -ledState6;
lastDebounceTime6 = millis();
}
}

//MIDDLE RIGHT SQUARE
buttonState7 = digitalRead(SWITCH7);
if ( (millis() - lastDebounceTime7) > debounceDelay7) {
if ( (buttonState7 == HIGH) && (ledState7 < 0) ) {
digitalWrite(LED6, HIGH);
ledState7 = -ledState7;
lastDebounceTime7 = millis();
}
}

//BOTTOM LEFT SQUARE
buttonState8 = digitalRead(SWITCH8);
if ( (millis() - lastDebounceTime8) > debounceDelay8) {
if ( (buttonState8 == HIGH) && (ledState8 < 0) ) {
digitalWrite(LED7, HIGH);
ledState8 = -ledState8;
lastDebounceTime8 = millis();
}
}

//BOTTOM MIDDLE SQUARE
buttonState9 = digitalRead(SWITCH9);
if ( (millis() - lastDebounceTime9) > debounceDelay9) {
if ( (buttonState9 == HIGH) && (ledState9 < 0) ) {
digitalWrite(LED8, HIGH);
ledState9 = -ledState9;
lastDebounceTime9 = millis();
}
}

//BOTTOM RIGHT SQUARE
buttonState10 = digitalRead(SWITCH10);
if ( (buttonState10 == HIGH) && (ledState10 < 0) ) {
digitalWrite(LED9, HIGH);
ledState10 = -ledState10;
lastDebounceTime10= millis();
}

if ((ledState10 > -ledState10) or (ledState9 > -ledState9) or (ledState8 > -ledState8) or (ledState7 > -ledState7) or (ledState6 > -ledState6) or (ledState5 > -ledState5) or (ledState4 > -ledState4) or (ledState3 > -ledState3) or (ledState2 > -ledState2) ) {
digitalWrite(LED10, HIGH);

}

if ((ledState10 > -ledState10) && (ledState9 > -ledState9) && (ledState8 > -ledState8) && (ledState7 > -ledState7) && (ledState6 > -ledState6) && (ledState5 > -ledState5) && (ledState4 > -ledState4) && (ledState3 > -ledState3) && (ledState2 > -ledState2) ) {
digitalWrite(LED10, !HIGH);

}

lcd.clear();
lcd.print("PRESS ANY BUTTON TO START");
delay(100);

if(digitalRead(24) == HIGH)
{

lcd.clear();
a = millis();
while(digitalRead(25) == LOW)
{

c = millis();
i = (c - a) / 1000;
lcd.print(i);
lcd.setCursor(11,0);
lcd.print("Sec's");
lcd.setCursor(0,0);
Serial.println(c);
Serial.println(a);
Serial.println(i);
Serial.println("......");
delay(100);
}

if(digitalRead(25) == HIGH)
{
while(digitalRead(24) == LOW)
{
lcd.setCursor(0,0);
lcd.print(i);
lcd.setCursor(11,0);
lcd.print("Sec's");
lcd.setCursor(0,0);
delay(100);
}
}

}

} end of loop

So what you're saying is that if 24 goes HIGH then you get stuck in this while loop waiting for 25 to go HIGH. There's nothing there that reads any of the other inputs so I would think it normal that they stop responding. The only pin being read here is 25. So you're stuck here until you press that.

this this but still no luck the timer stops but then nothing with work after

sorry i tried sending input 25 high but that still did not help me