Rules:

Click to add or remove Cells

Hold Ctrl to draw vertical lines

Hold Shift to draw horizontal lines