Exercise B4 (20 pts): Let $X_i$, $i = 1, 2, \dots$ be independent Bernoulli ($p$) random variables
and let $Y_n = \sum_{i=1}^n X_i/n$.
(a) Show that $\sqrt{n} (Y_n - p) \to \mathcal{N}(0, p(1-p))$ in distribution.
(b) Show that for $p \neq 1/2$, $\sqrt{n} [Y_n (1 - Y_n) - p(1-p)] \to \mathcal{N} (0, (1 - 2p)^2p(1-p))$ in distribution.
(c) Show that for $p = 1/2$, $4n [\frac{1}{4} - Y_n (1 - Y_n)] \to \chi_1^2$ in distribution.