Converted sample_population to use argparse, added an option to set the random seed