I haven't taken a probability/statistics course in years and I'm trying to make my way through an Introduction to Stochastic Processes book. The question reads as follows:
Suppose we have two urns (a left urn and a right urn). The left urn contains $n$ black balls and the right urn contains $n$ red balls. Every time step you take one ball (chosen randomly) from each urn, swap the balls, and place them back in the urns. Let $X_m$ be the number of black balls in the left urn after $m$ time steps. Find the transition function of the Markov chain ($X_m$).