Added a main function to Chat.java and commented out main in Chat.java