Implemented the 'sieve of eratosthenes' in ocaml