Vector clock implementation in Ocaml