Mychat is a simple chat code in java