Clarified pseudocode for gossip algorithm