Implemented estimate-integral to estimate value of pi using monte-carlo, needs verification