A toy Raft implementation in Ruby