The second code, displayed here, uses importance sampling and random numbers that follow the normal distribution the brute force approach