added docstrings to room.py
added error handling