Implement command-line argument parsing so the density parameter and RNG seed value can be specified.