Basic Genetic Algorithm in OCaml