Write code to calculate an estimate of pi using random number generation.
Implement estimate_pi(samples, seed) using reproducible random samples. Generate points uniformly in the unit square, count points inside the quarter circle, and return 4 * inside / samples.
The function accepts a positive integer samples and an integer seed, and returns a floating-point estimate.
def estimate_pi(samples, seed):