Java version of the multi-person chat room