St Mary Magdalenes Lights off game

Instructions: Turn of all the lights in the game. Pressing a light will toggle it off or on as well as the adjacent lights.
Hint : Start small - 4 x 4