Multicast message written in Java (Distributed Systems class)