when the button is pressed 2 leds will be on .. and the third one will be off ... when the button isnt pressed the 2 leds will stay on for 9 sec then they will turn off and the third led will turn on...
the button can be used as a motion detector
and the third led as a buzzer