#define LED1 13
#define LED2 12
#define LED3 11
#define SW1 2
#define SW2 3
#define SW3 4
#define SW4 5
int x =0;
void setup() {
  pinMode(LED1,OUTPUT);
  pinMode(LED2,OUTPUT);
  pinMode(LED3,OUTPUT);
  pinMode(SW1,INPUT_PULLUP); pinMode(SW2,INPUT_PULLUP);
  pinMode(SW3,INPUT_PULLUP); pinMode(SW4,INPUT_PULLUP);
  Serial.begin(9600);
  Serial.println(" "))
}
void loop() {
  x = digitalRead(SW1)
  if(digitalRead(SW1) == LOW ) {
          digitalWrite(LED1,HIGH);
          Serial.println("LED1 Open");
          while(digitalRead(SW1)==LOW);
  }        
  else if(digitalRead(SW2) == LOW)  {
          digitalWrite (LED2,HIGH);
          Serial.println("LED2 Open");
          while(digitalRead(SW2)==LOW);
  }
  else if(digitalRead(SW3) == LOW)  {
          digitalWrite (LED3,HIGH);
          Serial.println("LED3 Open");
          while(digitaRead(SW3)==LOW);
  }
  else if(digitalRead(SW4) == LOW)  {
          digitalWrite (LED1,LOW);
          digitalWrite (LED2,LOW);
          digitalWrite (LED3,LOW);
          Serial.println("LED Cloes");
          while(digitalRead(SW) ==LOW);       
  }
}