Java client functioning properly

client will send message to server and display message received
Merging with the javaclient