example of a pseudorandom number generator