I have been trying to calculate the value of pi using monte carlo simulation using multithreading. So far i have reached i have created threads and generated random points but i