Link to a video of a the puzzle
What is this puzzle called, and if possible, what is the logic behind it?
Clicking a square inverts the state of the square and the ones directly adjacent to it, and the goal is to get all the squares in a 'On' state.