The function generates a genlight object with the specified number
of individuals and loci, simulating allele frequencies based on a beta
distribution. The mutation rate is used to calculate theta, which in turn is
the parameter in the beta function.