[homework 4] - Finished chat room with thread and i/o multiplexing