5. Let $A$ be an $n \times n$ matrix, with 0's on the main diagonal and 1's otherwise. (That is, $a_{i,i} = 0$ for $1 \le i \le n$ and $a_{i,j} = 1$ for $i \ne j$). Find the det $A$.