Password Generator in OCaml