Tap a number to pick it up. Every square holding that number lights up. Now tap squares to write it in; tap a square again to take it out. Shift-click a square, or turn on Pencil, to write a small note instead. Or work the other way: tap a square first, then a number goes into it.