A simple implementation of the raft consensus algorithm in java