Python: Random number generator in Python.