code: public void broadcast(Iterator<String> peers, Message message) {
      while (peers.hasNext()) {
        send(peers.next(), message);
      }
    }
docs: Broadcasts a message to a set of peers.
  
  @param peers the set of destination peers.
  @param message the message to be broadcasted.