Implement MasterElection
Merge pull request #312 from AlCutter/election

Implement MasterElection