Passes basic test. Basic leader election algorithm