Primality testing library for OCaml