First program to generate a brownian motion in python