Clicking a square will switch its light as well as the lights of all horizontally and vertically adjacent squares