Simulating Uniform Distribution with Python