Let $a_{n}$ be the number of ways to fill an $n \times n$ board with the digits 0 and 1, such that the sum in each row and each column is the same. For example, the $2 \times 2$ boards that satisfy this rule are:
| 0 | 0 |
| :--- | :--- |
| 0 | 0 |
| 1 | 0 |
| :--- | :--- |
| 0 | 1 |
| 0 | 1 |
| :--- | :--- |
| 1 | 0 |
| 1 | 1 |
| :--- | :--- |
| 1 | 1 |
Thus $a_{2}=4$. Compute the values of $a_{3}$ and $a_{4}$.