Brownian Motion Simulation Python Code