Make number of instructions to generate be a command line parameter of generate.py