int ledPin[] = {13, 12, 11,10};
int ledDelay[4]={8000,4000,2000,1000};
// declare other required variables
void setup() {
currTime =0;
for(int i=0;i<4;i++){
// initialize lastChangeTimes
// set pin mode for ledPins
}
}
void loop() {
// implement the toggling logic
}