Implementation of the Hash Array Mapped Trie data structure in OCaml