A CA-Based Approach to Self-Organized Adaptive Environments: The Case of an Illumination Facility