Click between two of the 'white diamond' gaps in the ribbon pattern to place a wall. Initially it will be vertical. Click again to make the wall horizontal, and click again to remove it. Walls cannot be placed that would overlap the boundary of the grid, but they can touch the boundary.
thread reference paper