The lights are being controlled through a modified power-strip where each outlet turns on and off depending on the program running an the Arduino micro-controller. In the video, the clicking you hear is the sound of the relays switching. Low voltage signals come out of the micro-controller and trigger the larger circuits. The lights are counting up in binary with the right-most one being the smallest bit. I messed up and the last two on the left are reversed in the video.