geneGen.py - original random gene generator