Cellular automata code for Arduino anc TLC5940 LED bar