Lab 7: Monte Carlo simulation to calculate the value of $\pi$