trying to learn socket in java

Test client and server for socket