added function to determine the room somebody is in based on their message
merged kyles work into mine