Added a simple PRNG for testing on AVR.