A Cellular Automata-Based Modular Lighting System