Python implementation of Raft Consensus