How to program input switch??

irvinds,
You do know that the circuit you posted will only switch all the LEDs on or off at the same time so the only pattern you can get with this is a pattern of blinking.
Or are there more LED groups and transistors?