A simulator for the evolution of gene groups and operons