Create Server.java

server code