Chatroom homework first pass. Rough, but meets requirements.