This is a question on homework for an introductory point-set topology course.
Let $X$ be Hausdorff and let $x_1,\dots,x_n\in X$ be distinct elements. Prove that there exist open sets $U_1, \dots , U_n$ such that $x_i \in U_i$ for all $i$ and $U_i\cap U_j = \emptyset$ for all $i\neq j$.
First Attempt: Since $X$ is Hausdorff, then for any distinct elements $a,b\in X$ there exist disjoint open neighborhoods $U_a$ and $U_b$ containing $a$ and $b$, respectively. Consequently, for each $x_i$ we can choose open neighborhoods $U_i^j$ of $x_i$ where $j\in \{1,2,\dots,n\}\setminus \{i\}$ such that $x_j \notin U_i^j$ for all $j$. Then $\mathfrak N_i := \cap_j U_i^j$ is a finite intersection of open neighborhoods of $x_i$, so is open and contains $x_i$ because $x_i \in U_i^j$ for all $j$. Furthermore, by construction the set of such intersections $(\mathfrak N_i)_{1\leq i \leq n}$ will be pairwise disjoint, as desired.
Realization: I believe I have ensured that the open neighborhoods don't contain any of the other $x_i$, but I have not necessarily shown that they are all pairwise disjoint.
Question: How can my argument be modified to ensure that $\mathfrak N_i \cap \mathfrak N_j = \emptyset$ for all $i\neq j$?