added functionality to create_chat_room() function to verify chatroom name does not exceed maximum number of characters. this is a bugfix which caused a segmentation fault.