The code I used to apply the SDEs and the Black-Scholes scheme in python:
# dw Wiener process def dW(delta_t): """" Random sample