checks for number of available rooms closes #45