Implementing core code for a random number generator as shown in Youtube Video
usage: Linear Shift State Register [-h] -n N -i I [--log-level {info,warn,error}]
Generate random numbers
optional arguments:
-h, --help show this help message and exit
-n N, --bits N initial number
-i I, --iterations I number of random bits to generate
--log-level {info,warn,error}
set log level
Example python3 lfsr.py -n 9 -i 50 --log-level warn