Create Server.java

Test this code on single machine.