added command line arguments to control random seed and generations