add -Wall
rewrite the PRNG logic to use urandom on srand() only and then return
random() on subsequent calls