Goldman Sachs interview question

Code a basic Monte Carlo