ChatClient and ChatServer codes added