Created ChatSrever.java file to fiil with the instructions