random chromosomes and grammar generation