p = sys.argv.index('-type')
        ptemp = sys.argv[p + 1]
        type = ptemp

    if '-Ntoss' in sys.argv:
        p = sys.argv.index('-Ntoss')
        Nt = int(sys.argv[p + 1])
        if Nt > 0:
            Ntoss = Nt
    if '-Nexp' in sys.argv:
        p = sys.argv.index('-Nexp')
        Ne = int(sys.argv[p + 1])
        if Ne > 0:
            Nexp = Ne
    if '-output' in sys.argv:
        p = sys.argv.index('-output')
        OutputFileName = sys.argv[p + 1]
        doOutputFile = True

    if doOutputFile:
        outfile = open(OutputFileName, 'w')
        for e in range(0, Nexp):
            for t in range(0, Ntoss):
                if type == "nb":
                    outfile.write(str(random_number.Category6f()) + " ")

                if type == "bi":
                    outfile.write(str(random_number.Category6()) + " ")
            outfile.write(" \n")
        outfile.close()