first commit of gossip algorithm