Question d’entretien chez Baba Entertainment

Write a code that multiple instances can communicate with each other and decides who is the Master node.