basic ocaml snippets

Self explanatory