On/Off puzzle

Here&rsquo;s something to play around with.