It's logic puzzle - switching on/off light bulbs. You must switching on all the 8 lamps.