Gossip problem implementation