Ocaml implementation of Raft