Class project using Java Sockets