project advice

i am working on traffic light project and i want to add one function in it i made different loop in it i want that if i press switch all loop stop and only specific pins will high.
void setup() {
pinMode(13, OUTPUT);
pinMode(12, OUTPUT);
pinMode(11, OUTPUT);
pinMode(10, OUTPUT);
pinMode(9, OUTPUT);
pinMode(8, OUTPUT);
pinMode(7, OUTPUT);
pinMode(6, OUTPUT);
pinMode(5, OUTPUT);
pinMode(4, OUTPUT);
pinMode(3, OUTPUT);
pinMode(2, OUTPUT);
}
void loop()
{
one();
delay(3000);
two();

three();
delay(3000);
four();

five();
delay(3000);
six();

seven();
delay(3000);
eight();

nine();
delay(3000);
ten();

eleven();
delay(3000);
twelve();

thirteen();
delay(3000);
fourteen();

fifteen();
delay(3000);
sixteen();

}
void one()
{
digitalWrite(13, HIGH);
digitalWrite(10, HIGH);
digitalWrite(7, HIGH);
digitalWrite(2, HIGH);
}
void two()
{
digitalWrite(13, LOW);
digitalWrite(10, LOW);
digitalWrite(7, LOW);
digitalWrite(2, LOW);
}
void three()
{
digitalWrite(13, HIGH);
digitalWrite(10, HIGH);
digitalWrite(7, HIGH);
digitalWrite(3, HIGH);
}
void four()
{
digitalWrite(13, LOW);
digitalWrite(10, LOW);
digitalWrite(7, LOW);
digitalWrite(3, LOW);
}

void five()
{
digitalWrite(13, HIGH);
digitalWrite(10, HIGH);
digitalWrite(5, HIGH);
digitalWrite(4, HIGH);
}
void six()
{
digitalWrite(13, LOW);
digitalWrite(10, LOW);
digitalWrite(5, LOW);
digitalWrite(4, LOW);
}

void seven()
{
digitalWrite(13, HIGH);
digitalWrite(10, HIGH);
digitalWrite(6, HIGH);
digitalWrite(4, HIGH);
}
void eight()
{
digitalWrite(13, LOW);
digitalWrite(10, LOW);
digitalWrite(6, LOW);
digitalWrite(4, LOW);
}
void nine()
{
digitalWrite(13, HIGH);
digitalWrite(8, HIGH);
digitalWrite(7, HIGH);
digitalWrite(4, HIGH);
}
void ten()
{
digitalWrite(13, LOW);
digitalWrite(8, LOW);
digitalWrite(7, LOW);
digitalWrite(4, LOW);
}
void eleven()
{
digitalWrite(13, HIGH);
digitalWrite(9, HIGH);
digitalWrite(7, HIGH);
digitalWrite(4, HIGH);
}
void twelve()
{
digitalWrite(13, LOW);
digitalWrite(9, LOW);
digitalWrite(7, LOW);
digitalWrite(4, LOW);
}
void thirteen()
{
digitalWrite(11, HIGH);
digitalWrite(10, HIGH);
digitalWrite(7, HIGH);
digitalWrite(4, HIGH);
}
void fourteen()
{
digitalWrite(11, LOW);
digitalWrite(10, LOW);
digitalWrite(7, LOW);
digitalWrite(4, LOW);
}
void fifteen()
{
digitalWrite(12, HIGH);
digitalWrite(10, HIGH);
digitalWrite(7, HIGH);
digitalWrite(4, HIGH);
}

void sixteen()
{
digitalWrite(12, LOW);
digitalWrite(10, LOW);
digitalWrite(7, LOW);
digitalWrite(4, LOW);
}

this my program

Get rid of the calls to delay()
Use code tags.

Have a look at how millis() is used to manage timing without blocking in several things at a time

...R