Update Server.java

Fully tested Server