Consider a board having 2 rows and $n$ columns. Thus there are $2n$ cells in the board. Each cell is to be filled in by 0 or 1.\\
(a) In how many ways can this be done such that each row sum and each column sum is even?\\
(b) In how many ways can this be done such that each row sum and each column sum is odd?