Google interview question

Implement a random number generator