I realized that I had a few things wrong with my command line arguments in randomP.py.