finished single gene generator (random string)