Implementing toggle_lights