Modified leader election to work based on random IP and tried to make nodes use leader-follower paradigm
Fixed issue with infinite message loop