First home task, I got an assignment related to the job (nodejs) to do from home. 1. Part 1: Write a code that multiple instances can communicate with each other and decides who is the Master node. 2. Part 2: When Master node terminate the other node select new Master node. (No need to determine who is the next master with certain order) Only master node will write to console “I am the master node” and the other will right “I am the slave node”, when instance is terminated one of the slaves should become the master and write: “ I am the new master node”