Approximatex pi using the Buffon's needle problem method.