Click to add wall vertices (snaps to grid). Right-click to close the shape.
Select a room from the palette, then click on the canvas to place it. Press R to rotate.