implement pattern to run leds