Click 'add room' and select a room type to add, once you have, use the arrow keys to move it, and space to place. I recommend adding all doors afterwards.
This is for the game 'FTL', highly recommend it! http://ftlgame.com/ I needed a program to do this, couldn't find one, so I made one, and thought I might as well share it. Using scratch, in 2015? past me wouldn't believe it. 02/05/15 Change: Made smaller version: https://scratch.mit.edu/projects/60135370/ Improved room load time 04/05/15 Change: added 'remove' button added effect on doors when placing