Practice problems using OCaml