light controller in C++