Simulations in Python