How Random Number Generators Work