How would you generate random points in a circle and use them to estimate pi, given a center and radius?
Implement estimate_pi(center_x, center_y, radius, samples, seed). Generate points uniformly in the circle's bounding square, count points inside the circle, and return 4 * inside / samples. Use seed for deterministic results and include boundary points as inside.
Inputs are numeric center coordinates and radius, a positive sample count, and an integer seed. Return a floating-point estimate.
def estimate_pi(center_x, center_y, radius, samples, seed):