Transferred generation of the chromosomes from main_program.py to chromgen.py as described in issue #4