Update server.java

I worked on the run() method. I still have a little more to do.