Update Server.java

found stuff on the web, and also implemented what he had on slides. prtty much what I added to the server and client will establish the connection and allow the sending and receiving of messages. What is IN those messages (moving pieces) i haven't done yet