Add working estimate_pi().