Implement MasterElection

That sounds like a big mistake, shouldn't it be a CHECK instead?