changed room's constructor parameters so that a wall can be built if door is closed