https://medium.com/@miyoko_shimura/monte-carlo-simulation-using-python-random-sampling-by-calculating-%CF%80-be3cdd326361