R-code for colony model and simulations

This title contains two "R" code modules. The first can be used to generate the worker genotypes of a colony of haplodiploid social insects from one mother and a specified number of males, assuming a certain number of loci and a certain recombination rate. The second module uses this colony algorithm to evaluate colony genetic diversity across varying numbers of males, recombination rates, and loci numbers.